window.lhp_check_obj=function(obj,key_name,data,console_=false){
    
    if(console_){try{console.log(obj.var_name);
}catch{}}
    if(console_){console.log("######################lhp_check_obj obj,key_name,data",obj,key_name,data,);
}
    // console.log("lhp_check_obj",obj,key_name,run_func,obj.hasOwnProperty(key_name))
    if(console_){console.log("######################lhp_check_obj 1");
}
    if(key_name==''){return null}
    if(console_){console.log("######################lhp_check_obj 2");
}
    if (obj.hasOwnProperty(key_name) && data!=obj[key_name]){
        console.log("拥有相同属性",obj,key_name);
        obj[key_name]=data;
    }else{
        if(console_){console.log("######################set  obj[key_name]=data",{"obj":obj,key_name:key_name,"data":data});
}
        obj[key_name]=data;
      }
    if(console_){console.log("######################lhp_check_obj 3");
}
}